<?php

	function createHtmlTag($tag = ""){
		echo "<h1>$tag</h1>";
	}

	createHtmlTag('Hello');
	


	createHtmlTag("JSON和serialize对比");

	$member = array("username","age");
	var_dump($member);

	$jsonObj = json_encode($member);
	$serizlizeObj = serialize($member);

	createHtmlTag($jsonObj);
	createHtmlTag($serizlizeObj);
?>